home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
UUPC11QS.ARJ
/
DCPSYS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-21
|
2KB
|
55 lines
/*--------------------------------------------------------------------*/
/* dcpsys.h */
/* */
/* System functions for dcp (UUPC/extended data communications) */
/* */
/* Change History: */
/* */
/* 08 Sep 90 - Create via Microsoft C compiler /Zg ahd */
/*--------------------------------------------------------------------*/
#define TIMEOUT -1
#define MSGTIME 20 /* Timeout for many operations */
#define PROTOCOL_TIME 40 /* Timeout for protocol exchange msgs */
/*--------------------------------------------------------------------*/
/* systems (L.sys) file fields definitions */
/*--------------------------------------------------------------------*/
typedef enum {
FLD_REMOTE = 0,
FLD_CCTIME,
FLD_TYPE,
FLD_SPEED,
FLD_PHONE,
FLD_PROTO,
FLD_EXPECT
} FLDS;
extern char *flds[60];
extern int kflds;
boolean calledhost(char *hisremote);
void didcall(char *hisremote);
CONN_STATE getsystem(void);
CONN_STATE startup_server(void);
CONN_STATE startup_client(void);
CONN_STATE sysend(void);
XFER_STATE scandir(char *remote);
int rmsg(char *msg, const boolean synch, unsigned int msgtime);
void wmsg(char *msg, const boolean synch);
extern int (*sendpkt)(char *data, int len);
extern int (*getpkt)(char *data, int *len);
extern int (*openpk)(void);
extern int (*closepk)(void);
extern int (*wrmsg)(char *data);
extern int (*rdmsg)(char *data);
extern int (*eofpkt)(void);
extern int (*filepkt)(void);